package oshi.util;

import java.util.Collection;

/**
 * @author Teemo
 */
public class CollectionUtil {

    public static boolean isEmpty(Collection<?> collection) {
        return collection == null || collection.isEmpty();
    }
    public static boolean isNotEmpty(Collection<?> collection) {
        return false == isEmpty(collection);
    }

}
